package com.cqs.learning.spring.cloud.producer.bean.dto;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * @Author lixw
 * @Date 5/31/20 11:25 PM
 */
public interface HousePriceChannel {
    /**
     *  House Price Data接收消息通道名称
     */
    String INPUT = "house_price_input";

    String OUTPUT = "house_price_output";

    @Input(INPUT)
    SubscribableChannel inboundGreetings();

    @Output(OUTPUT)
    MessageChannel outboundGreetings();
}
